﻿using FarseerPhysics.Dynamics;
using FarseerPhysics.Factories;
using Microsoft.Xna.Framework.Graphics;
using Syngine;
using Syngine.Physics;
using Syngine.Physics.Components;

namespace BenchMark.CarGame
{
	/// <summary>
	/// 
	/// </summary>
	public class Wheel : DrawableSprite
	{
		public override void Initialize()
		{
			Body = BodyFactory.CreateCircle(WorldContext.World, 16, 1);
			
			base.Initialize();
		}

		protected override Texture2D GetAsset(LoadContext context)
		{
			return context.Load<Texture2D>("Wheel");
		}
	}
}